package entity.domain;

import entity.domain.topic.Topic;

import java.util.List;

public class Domain {

    private String name;
    private List<Topic> topics;
    private String description;

    public Domain(){}

    public Domain(String name, String description){
        this.name = name;
        this.description = description;
    }

    public Domain(String name, List topics, String description){
        this.name = name;
        this.topics = topics;
        this.description = description;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<Topic> getTopics() {
        return topics;
    }

    public void setTopics(List<Topic> topics) {
        this.topics = topics;
    }
}
